package com.shop.cereshop.agent.service.referral;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.cereshop.agent.page.referral.AgentGetIncomeVO;
import com.shop.cereshop.agent.page.referral.AgentShopDetailVO;
import com.shop.cereshop.agent.page.referral.AgentShopOrderDetailVO;
import com.shop.cereshop.agent.page.referral.AgentShopsVO;
import com.shop.cereshop.commons.domain.referral.AgentReferralRelation;
import com.shop.cereshop.commons.result.Result;

import java.util.List;

public interface AgentReferralService extends IService<AgentReferralRelation> {

  AgentGetIncomeVO getIncome(Long agentUserId);

  AgentShopsVO getShops(Long agentUserId, Integer page, Integer pageSize, Integer shopType,
      String search, Integer sort, Integer timeRange);

  AgentShopDetailVO getShopDetail(Long agentUserId, Long shopId, Integer page, Integer pageSize, String month);

  AgentShopOrderDetailVO getShopOrderDetail(Long agentUserId, Long orderId);
}